package com.xiaohai.mapper;

import com.xiaohai.projo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaohai
 * @since 2024-04-01
 */
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {

    /**
     * 跟新密码
     * @param account
     * @param newPassword
     * @return
     */
    int updatePasswordByAccount(String account, String newPassword);
}
